package beyjava.dao;


import java.util.Vector;

import beyjava.model.Project;

/**
 * this class is used for project data access object
 * @author BEYJAVA
 *
 */
public interface ProjectDAO {
 /**
  * this method is used to add new project
  * @param newProject
  * @return true if project is added successfully
  */
public boolean insertProject(Project newProject);
/**
 * this method is used to delete chosen project
 * @param projectID
 * @return true if project is removed successfully
 */
public  boolean removeProject(int projectID);
/**
 * this method is used to update chosen project
 * @param updatedProject
 * @return true if project updated successfully
 */
public boolean updateProject(Project updatedProject);
/**
 * this method is used to get all projects at the system
 * @return Vector<Project> all system project informations
 */
public Vector<Project> getProjects();
/**
 * this method is used to get informations of selected project
 * @param projectID
 * @return Project chosen project information
 */
public Project selectProjectByID(int projectID);

}